package org.seed.rpc.springboot;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = EcRpcProperties.EC_RPC_PREFIX)
public class EcRpcProperties {

    public static final String EC_RPC_PREFIX = "ec-rpc";

    /**
     * 当前服务名称
     */
    private String serviceName;

    /**
     * RPC服务监听的端口
     */
    private Integer port;

    /**
     * eureka服务地址
     */
    private String eurekaServiceUrl;

    /**
     * 待扫描的服务包
     */
    private String basePackage;




}
